package org.jctc.els.modules.biz.service.team;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jctc.els.modules.biz.entity.team.Team;
import org.jctc.els.modules.biz.vo.TeamVO;
import org.springblade.core.mp.base.BaseService;

public interface ITeamService extends BaseService<Team> {

    IPage<TeamVO> selectAllPage(IPage<TeamVO> page, String teamName, Integer teamType);

    Team selectById(Long id);

    boolean saveOrUpdate(Team team);

    boolean update(Team team);

    boolean updateTeamLeader(Long userId,String teamId);

    Boolean deleteTeam(String ids);
}
